{extend name="normal_base" /}
{block name="navigation"}{/block}
{block name="css"}
<style>
    .title{
        width: 130px;
        color: #0f1315;
    }

    .layui-colla-title{
        font-weight:500;
    }
/*
    .layui-row{
        height:35px;
        line-height:35px;
    }*/
</style>
{/block}
{block name="body"}
<div class="x-body">
    <div class="layui-collapse">
        <div class="layui-colla-item">
            <h2 class="layui-colla-title">基本信息</h2>
            <div class="layui-colla-content layui-show">
                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">客户编号：</div><div class="layui-inline">{$info.customer_number}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">客户单位名称：</div><div class="layui-inline">{$info.company_name}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">客户单位简称：</div><div class="layui-inline">{$info.short_name}</div>
                    </div>
                </div>

                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">纳税人识别号：</div><div class="layui-inline">{$info.taxpayer_identity_numbe}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">主营业务范围：</div><div class="layui-inline">{$info.business_scope}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">客户地址：</div><div class="layui-inline">{$info.address_prefix}&nbsp;{$info.address}</div>
                    </div>
                </div>

                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">法定代表人：</div><div class="layui-inline">{$info.legal_person}</div>
                    </div>
                    <div class="layui-col-md4">
                        <div class="layui-inline title">业务额（元）：</div><div class="layui-inline">{$info.revenue}</div>
                    </div>
                    <div class="layui-col-md4">
                        <div class="layui-inline title">客户星级：</div><div class="layui-inline">{:str_repeat("<i class='layui-icon layui-icon-star-fill' style='color: tomato'></i>", $info.star_level)}</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-colla-item">
            <h2 class="layui-colla-title">税务相关</h2>
            <div class="layui-colla-content layui-show">
                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">主管税务机关：</div><div class="layui-inline">{$info.tax_bureau}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">是否是一般纳税人：</div><div class="layui-inline">{$info.is_general_taxpayer ? '是':'否'}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">财务软件：</div><div class="layui-inline">{$info.financial_software}</div>
                    </div>
                </div>

                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">税收优惠：</div><div class="layui-inline">{$info.tax_discount}</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-colla-item">
            <h2 class="layui-colla-title">税务机关专管员相关信息</h2>
            <div class="layui-colla-content layui-show">
                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">专管员：</div><div class="layui-inline">{$info.tax_bureau_manager}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">联系电话：</div><div class="layui-inline">{$info.tax_bureau_manager_tel}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">QQ：</div><div class="layui-inline">{$info.tax_bureau_manager_qq}</div>
                    </div>
                </div>

                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">微信：</div><div class="layui-inline">{$info.tax_bureau_manager_wx}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">Email：</div><div class="layui-inline">{$info.tax_bureau_manager_email}</div>
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-colla-item">
            <h2 class="layui-colla-title">财务副总相关信息</h2>
            <div class="layui-colla-content layui-show">
                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">财务副总：</div><div class="layui-inline">{$info.financial_deputy_majordomo}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">联系电话：</div><div class="layui-inline">{$info.financial_deputy_majordomo_tel}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">QQ：</div><div class="layui-inline">{$info.financial_deputy_majordomo_qq}</div>
                    </div>
                </div>

                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">微信：</div><div class="layui-inline">{$info.financial_deputy_majordomo_wx}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">Email：</div><div class="layui-inline">{$info.financial_deputy_majordomo_email}</div>
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-colla-item">
            <h2 class="layui-colla-title">财务经理相关信息</h2>
            <div class="layui-colla-content layui-show">
                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">财务经理：</div><div class="layui-inline">{$info.financial_deputy_manager}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">联系电话：</div><div class="layui-inline">{$info.financial_deputy_manager_tel}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">QQ：</div><div class="layui-inline">{$info.financial_deputy_manager_qq}</div>
                    </div>
                </div>

                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">微信：</div><div class="layui-inline">{$info.financial_deputy_manager_wx}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">Email：</div><div class="layui-inline">{$info.financial_deputy_manager_email}</div>
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-colla-item">
            <h2 class="layui-colla-title">主管会计</h2>
            <div class="layui-colla-content layui-show">
                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">主管会计：</div><div class="layui-inline">{$info.accountant_leader}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">联系电话：</div><div class="layui-inline">{$info.accountant_leader_tel}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">QQ：</div><div class="layui-inline">{$info.accountant_leader_qq}</div>
                    </div>
                </div>

                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">微信：</div><div class="layui-inline">{$info.accountant_leader_wx}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">Email：</div><div class="layui-inline">{$info.accountant_leader_email}</div>
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-colla-item">
            <h2 class="layui-colla-title">其他信息</h2>
            <div class="layui-colla-content">
                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">数据录入人：</div><div class="layui-inline">{$info.add_user_name}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">数据录入时间：</div><div class="layui-inline">{$info.create_time}</div>
                    </div>

                    <div class="layui-col-md4">
                        <div class="layui-inline title">数据最后修改时间：</div><div class="layui-inline">{$info.update_time == '1970-01-01 08:00:00' ? '' : $info.update_time}</div>
                    </div>
                </div>

                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-inline title">客户备注：</div><div class="layui-inline">{$info.note}</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

{/block}


{block name="script"}
<script>
    layui.use('element', function(){
        var element = layui.element;

    });
</script>
{/block}